<%@page import="databank.DataBank"%>
<%@page import="databank.DataBankVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>modify_result</title>
<script src='mycode.js'></script>
<script>
function getId(id){return document.getElementById(id)}
function init(){
	getId('btnList').onclick=function(){
		location.href='MyHome.jsp?inc_content=./databank/list.jsp';
	}
}
</script>
</head>
<body>
<jsp:useBean id="bankVo" class="databank.DataBankVo"/>
<jsp:setProperty property="*" name="bankVo"/>
<%
bankVo.setRequest(request);
DataBank bank = new DataBank();
bank.setVo(bankVo);

%>

<div id='databank_body'>
	<h1>자료수정 결과</h1>
	<%
	if(bank.modify()){
		out.print("정상적으로 수정되었습니다");	
	}else{
		out.print("수정 작업중 오류 발생");
	}
	%>
	<input type='button' value='목록' id='btnList'>
	<input type='button' value='보기' onclick='view()'>
</div>

<script>init();</script>
</body>
</html>